package com.hibase.upms.entity.menu;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 描述:
 * 导入菜单VO
 *
 * @author li-wei-hua
 * @date 2021-01-08 14:58
 */
@Data
public class ImportMenuVO extends BaseRowModel {

    @ExcelProperty(index = 0 ,value = {"PARENT_CODE"})
    @NotBlank(message = "Please fill in PARENT_CODE on line #{#count}")
    private String parentCode;

    @ExcelProperty(index = 1 ,value = {"CODE"})
    @NotBlank(message = "Please fill in CODE on line #{#count}")
    private String code;

    @ExcelProperty(index = 2 ,value = {"NAME"})
    @NotBlank(message = "Please fill in NAME on line #{#count}")
    private String name;

    @ExcelProperty(index = 3 ,value = {"TYPE"})
    @NotBlank(message = "Please fill in TYPE on line #{#count}")
    private String type;

    @ExcelProperty(index = 4,value = {"URL"})
    private String url;

    /**
     * 终端类型分组(BROWSER浏览器 APP移动端 H5等)
     */
    @ExcelProperty(index = 5, value = {"GROUP_TYPE"})
    private String groupType;
    /**
     * 终端类型（WEB/PDA/PDA_WMS等）
     */
    @ExcelProperty(index = 6,value = {"CLIENT_TYPE"})
    private String clientType;

}
